﻿using System;
using System.Collections.Generic;
using System.Linq;
using LiteDB;

namespace AutoR.Models
{
	// Token: 0x020001B8 RID: 440
	public class WarReport
	{
		// Token: 0x1700022B RID: 555
		// (get) Token: 0x060008F3 RID: 2291 RVA: 0x0006A719 File Offset: 0x00068919
		// (set) Token: 0x060008F4 RID: 2292 RVA: 0x0006A721 File Offset: 0x00068921
		public List<ShipInWar> selfShips { get; set; }

		// Token: 0x1700022C RID: 556
		// (get) Token: 0x060008F5 RID: 2293 RVA: 0x0006A72A File Offset: 0x0006892A
		// (set) Token: 0x060008F6 RID: 2294 RVA: 0x0006A732 File Offset: 0x00068932
		public List<ShipInWar> enemyShips { get; set; }

		// Token: 0x1700022D RID: 557
		// (get) Token: 0x060008F7 RID: 2295 RVA: 0x0006A73B File Offset: 0x0006893B
		// (set) Token: 0x060008F8 RID: 2296 RVA: 0x0006A743 File Offset: 0x00068943
		public int[] hpBeforeNightWarSelf { get; set; }

		// Token: 0x1700022E RID: 558
		// (get) Token: 0x060008F9 RID: 2297 RVA: 0x0006A74C File Offset: 0x0006894C
		// (set) Token: 0x060008FA RID: 2298 RVA: 0x0006A754 File Offset: 0x00068954
		public int[] hpBeforeNightWarEnemy { get; set; }

		// Token: 0x1700022F RID: 559
		// (get) Token: 0x060008FB RID: 2299 RVA: 0x0006A75D File Offset: 0x0006895D
		// (set) Token: 0x060008FC RID: 2300 RVA: 0x0006A765 File Offset: 0x00068965
		public AttackParam[] openAntiSubAttack { get; set; }

		// Token: 0x17000230 RID: 560
		// (get) Token: 0x060008FD RID: 2301 RVA: 0x0006A76E File Offset: 0x0006896E
		// (set) Token: 0x060008FE RID: 2302 RVA: 0x0006A776 File Offset: 0x00068976
		public AttackParam[] openAirAttack { get; set; }

		// Token: 0x17000231 RID: 561
		// (get) Token: 0x060008FF RID: 2303 RVA: 0x0006A77F File Offset: 0x0006897F
		// (set) Token: 0x06000900 RID: 2304 RVA: 0x0006A787 File Offset: 0x00068987
		public AttackParam[] openTorpedoAttack { get; set; }

		// Token: 0x17000232 RID: 562
		// (get) Token: 0x06000901 RID: 2305 RVA: 0x0006A790 File Offset: 0x00068990
		// (set) Token: 0x06000902 RID: 2306 RVA: 0x0006A798 File Offset: 0x00068998
		public AttackParam[] normalAttacks { get; set; }

		// Token: 0x17000233 RID: 563
		// (get) Token: 0x06000903 RID: 2307 RVA: 0x0006A7A1 File Offset: 0x000689A1
		// (set) Token: 0x06000904 RID: 2308 RVA: 0x0006A7A9 File Offset: 0x000689A9
		public AttackParam[] closeTorpedoAttack { get; set; }

		// Token: 0x17000234 RID: 564
		// (get) Token: 0x06000905 RID: 2309 RVA: 0x0006A7B2 File Offset: 0x000689B2
		// (set) Token: 0x06000906 RID: 2310 RVA: 0x0006A7BA File Offset: 0x000689BA
		public WarTypes warType { get; set; }

		// Token: 0x17000235 RID: 565
		// (get) Token: 0x06000907 RID: 2311 RVA: 0x0006A7C3 File Offset: 0x000689C3
		// (set) Token: 0x06000908 RID: 2312 RVA: 0x0006A7CB File Offset: 0x000689CB
		public bool canDoNightWar { get; set; }

		// Token: 0x17000236 RID: 566
		// (get) Token: 0x06000909 RID: 2313 RVA: 0x0006A7D4 File Offset: 0x000689D4
		[BsonIgnore]
		public List<AttackParam> AttackParams
		{
			get
			{
				return new List<AttackParam>(this.openAntiSubAttack.Union(this.openAirAttack.Union(this.openTorpedoAttack.Union(this.normalAttacks.Union(this.closeTorpedoAttack)))));
			}
		}
	}
}
